var app=angular.module('pqctr',['ngRoute']);
app.controller('aCtr',function($scope, $route){$scope.$route = $route;});
app.controller("bCtr",function($scope, $route){$scope.$route = $route;});
app.controller("cCtr",function($scope, $route){$scope.$route = $route;});
app.config(function($routeProvider){
	var rp=$routeProvider;
	rp.when('/a',{templateUrl: './route/route0.html',controller: 'aCtr'});
	rp.when('/b',{templateUrl: './route/route1.html',controller: 'bCtr'});
	rp.when('/c',{templateUrl: './route/route2.html',controller: 'cCtr'});
	rp.otherwise({redirectTo:'/a'});
});